YAYDP\Helper\YAYDP_Helper A

Total Complexity 57
Dependencies 9
Dependents 25
Total lines 431
Lines of code 246
Logical lines of code 138
Comment lines 159
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
check_applicability()
B
40 19 57
get_matching_pairs()
S
49 6 37
replace_rgb_to_hex()
S
54 5 20
sort_products_by_price()
S
49 4 32
take_back_items()
S
68 3 7
check_nonce()
S
68 3 6
sort_items_by_price()
S
59 2 14
initialize_custom_cart_item()
S
62 2 11
get_remaining_product_stock_include_extra_items()
S
70 2 6
sanitize_array()
S
69 2 7
push_in_items()
S
69 2 7
get_remaining_product_stock()
S
71 1 5
map_filter_value()
S
68 1 8
map_cases()
S
67 1 10
get_min_require_quantity()
S
81 1 3
get_verify_rest_nonce_failure_response()
S
68 1 8
str_to_hex()
S
74 1 4
verify_rest_nonce()
S
75 1 4